package com.feeyo.monitor.mapper;

import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import com.feeyo.monitor.domain.UserVehiclePermission;

/**
 * 用户权限类dao
 * @Author <a href="mailto:bliulei@variflight.com">liulei</a>
 * @Description Created by liulei on 2017/5/18 下午5:42.
 */
@Mapper
public interface UserVehiclePermissionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UserVehiclePermission record);

    int insertSelective(UserVehiclePermission record);

    UserVehiclePermission selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserVehiclePermission record);

    int updateByPrimaryKey(UserVehiclePermission record);
    
    public Map<String,Object> selectByUserId(String userId);

    int updateDeleteStatus(String id);
}